package com.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 读取配置文件
 * @author 
 *
 */
public class ReadConfig {
	
	public static String readValue() throws IOException {
		InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream("config.properties");
        Properties properties = new Properties();
        properties.load(in);
        String str = properties.getProperty("interfaceUrl");
		return str;
	}

}
